<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:69:"D:\phpstudy_pro\WWW\nginx\public/../application/index\view\login.html";i:1580004274;s:60:"D:\phpstudy_pro\WWW\nginx\application\index\view\layout.html";i:1580004961;}*/ ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php echo $title; ?></title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSsMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
</head>
<body>

<h1 style="margin:50px auto;text-align: center;">用户登录</h1>

<form class="form-horizontal" method="post" action="<?php echo url('index/login/login'); ?>">
    <?php echo token(); ?>
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">账号</label>
        <div class="col-sm-2">
            <input type="text" name="usernum" class="form-control" id="inputEmail3" placeholder="username">
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">Password</label>
        <div class="col-sm-2">
            <input type="password" name="password" class="form-control" id="inputPassword3" placeholder="Password">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">登录</button>
            <a href="<?php echo url('index/login/register'); ?>" class="btn btn-default" style="margin-left:180px;">注册</a>
        </div>
    </div>
</form>

</body>
</html>